package 设计模式.四建造者模式.improve;

public class CommonHouse extends HouseBuilder{
    @Override
    public void buildBasic() {
        house.setBasic("5米");
        System.out.println("普通房子打地基5米");
    }

    @Override
    public void buildWalls() {
        house.setWall("10米");
        System.out.println("普通房子砌墙10米");
    }

    @Override
    public void roofed() {
        house.setRoofed("普通房子屋顶");
        System.out.println("普通房子屋顶");
    }
}
